﻿//
// Copyright (c) 2024 BPergaofeng
//


#include <bperplayer/BPerPlayFactory.h>


BPerPlayFactory::BPerPlayFactory() {


}

BPerPlayFactory::~BPerPlayFactory() {

}

BPerAudioPlay* BPerPlayFactory::createAudioPlay(BPerAudioInfo *pcontext){
#if !BPer_OS_WIN
	return NULL;//if(pcontext->audioPlayType==1) return new BPerAudioPlayAlsa(pcontext);
#endif
	return NULL;// new BPerAudioPlaySdl(pcontext);
}

BPerAudioPlay *BPerPlayFactory::createAudioPlay(BPerAudioPlayType paet,BPerAudioInfo *pcontext){
#if !BPer_OS_WIN
	return NULL;//if(paet==BPer_AP_ALSA) return new BPerAudioPlayAlsa(pcontext);
#endif
	return NULL;//new BPerAudioPlaySdl(pcontext);
}
